package com.woniuxy.store.core.service.impl;

import com.woniuxy.store.core.model.PlOrderitem;
import com.woniuxy.store.core.model.PmEvaluate;
import com.woniuxy.store.core.mapper.PmEvaluateMapper;
import com.woniuxy.store.core.service.PmEvaluateService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gmx
 * @since 2021-07-05
 */
@Service
public class PmEvaluateServiceImpl extends ServiceImpl<PmEvaluateMapper, PmEvaluate> implements PmEvaluateService {
    @Resource
    private PmEvaluateMapper evaluateMapper;
    @Override
    public List<PmEvaluate> selectList(Integer storeId) {
        return evaluateMapper.selectList(storeId);
    }

    @Override
    public PlOrderitem selectOrder(Integer id) {
        return evaluateMapper.selectOrder(id);
    }

    @Override
    public List<PlOrderitem> selectOrderByEvaluate(Integer id) {
        return evaluateMapper.selectOrderByEvaluate(id);
    }
}
